//
//  Mine_ProgrammeCollectionViewCell.m
//  fxxiaoke
//
//  Created by 鞠超 on 2016/10/26.
//  Copyright © 2016年 jc. All rights reserved.
//

#import "Mine_ProgrammeCollectionViewCell.h"

@implementation Mine_ProgrammeCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if(self)
    {
        [self p_setupView];
    }
    return self;
}

- (void )p_setupView
{
    CGFloat  item_length = (SCREEN_WIDTH - 60) / 7;
    
    self.lbl_date = [[UILabel alloc] initWithFrame:CGRectMake(item_length / 2 - 12.5, 2.5, 25, 25)];
//    self.lbl_date.text = @"22";
    self.lbl_date.layer.masksToBounds = YES;
    self.lbl_date.layer.cornerRadius = 12.5;
    self.lbl_date.textColor = [UIColor grayColor];
    self.lbl_date.font = [UIFont systemFontOfSize:14.0f];
    self.lbl_date.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:self.lbl_date];
    
//    self.lbl_date.layer.borderColor = [UIColor orangeColor].CGColor;
//    self.lbl_date.layer.borderWidth = 1.0f;
//    self.lbl_date.backgroundColor = [UIColor groupTableViewBackgroundColor];
}







@end
